﻿<Window x:Class="WpfApplication17.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:WpfApplication17"
        Title="MainWindow" Height="350" Width="525">
    <Window.Background>
        <DrawingBrush Viewbox="0,0,450,320" Viewport="0,0,450,320" ViewboxUnits="Absolute" ViewportUnits="Absolute" TileMode="Tile">
            <DrawingBrush.Drawing>
                <ImageDrawing ImageSource="1.jpg" Rect="0,0,450,320">
                    
                </ImageDrawing>
            </DrawingBrush.Drawing>
        </DrawingBrush>
    </Window.Background>
    <Grid >

        <Grid Margin="120">

            <local:Road  Loaded="RoadCollection_Loaded">
            </local:Road>
       
            <Canvas x:Name="lanes"/>
            <Canvas x:Name="direction"/>
    </Grid>
    </Grid>
</Window>
